package com.hrs.enity.db;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 发放单记录
 * @TableName t_pay_log
 */
@TableName(value ="t_pay_log")
@Data
public class PayLog implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 归属档案id
     */
    private Long aid;

    /**
     * 基本工资
     */
    private BigDecimal basicSalary;

    /**
     * 交通补助
     */
    private BigDecimal trafficAllowance;

    /**
     * 午餐补助
     */
    private BigDecimal lunchAllowance;

    /**
     * 通信补助
     */
    private BigDecimal communicationAllowance;

    /**
     * 奖金*
     */
    private BigDecimal bonus;

    /**
     * 罚款*
     */
    private BigDecimal penalty;

    private Long orderId;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}